package com.innazis.jfrogsurvey.obj;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Inna on 04.06.14.
 */
public class QuestionObj {

    private int _question_id;
    private int _survey_id;
    private String _question_title;
    private int _question_order;
    private int _answers_num;
    private ArrayList<AnswerObj> _answers_list;

    public QuestionObj () {
        super();
    }

    public QuestionObj (int question_id, int survey_id, String question_title, int question_order,
                        int answer_num, ArrayList<AnswerObj> answers_list) {
        this._question_id = question_id;
        this._survey_id = survey_id;
        this._question_title = question_title;
        this._question_order = question_order;
        this._answers_num = answer_num;
        this._answers_list = answers_list;
    }

    // get set
    public int get_question_id() {
        return _question_id;
    }

    public void set_question_id(int _question_id) {
        this._question_id = _question_id;
    }

    public int get_survey_id() {
        return _survey_id;
    }

    public void set_survey_id(int _survey_id) {
        this._survey_id = _survey_id;
    }

    public String get_question_title() {
        return _question_title;
    }

    public void set_question_title(String _question_title) {
        this._question_title = _question_title;
    }

    public int get_question_order() {
        return _question_order;
    }

    public void set_question_order(int _question_order) {
        this._question_order = _question_order;
    }

    public int get_answers_num() {
        return _answers_num;
    }

    public void set_answers_num(int _answers_num) {
        this._answers_num = _answers_num;
    }

    public ArrayList<AnswerObj> get_answers_list() {
        return _answers_list;
    }

    public void set_answers_list(ArrayList<AnswerObj> _answers_list) {
        this._answers_list = _answers_list;
    }
    // end get set
}
